//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#if !defined(_CONSOLE_DEV_H_)
#define _CONSOLE_DEV_H_

#define CONSOLESWAP           1024        //1K
#define INFINITEIN            0xFFFFFFFF  // Infinite timeout

#define WM_READINFO      0x0500
#define WM_PRINTINFO     0x0501

extern BOOL SwapInitializeSR();
extern void SwapCloseSR();
extern DWORD ReceiveConsoleSwap(wchar_t *pBuffer);

extern BOOL SwapInitializeSS();
extern void SwapCloseSS();
extern DWORD SendScreenSwap(wchar_t *pBuffer);

#endif //_CONSOLE_DEV_H_
